package com.leo.ssh2.framework.action;



import com.leo.ssh2.framework.dto.User;
import com.leo.ssh2.framework.service.IUserDAO;
import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class StartAction extends ActionSupport {
	
	private User user;

	private IUserDAO userDAO;
	
    public String execute() throws Exception {
    	
    	//forward to login page
        return "success2";
    }

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public IUserDAO getUserDAO() {
		return userDAO;
	}

	public void setUserDAO(IUserDAO userDAO) {
		this.userDAO = userDAO;
	}
    
    
}
